import java.util.ArrayList;
import java.util.List;

/**
 * Description:
 * Author:han
 * Date: 2024-05-21
 */
public class testCode {
    public static void main(String[] args) {
        System.out.println("s");
        System.out.println(methoud(10));
    }
    public static String methoud(int n){
        String res = "";
        //创建一个String的集合
        List<Integer> list = new ArrayList<>();
        for(int i = 0;i < n;i++){
            list.add(i);
        }
        for(int i = 0;i < list.size()-1;i++){
            list.remove(i);
            res+= list.get(i).toString();
        }
        return res;
    }
}
